export const PAGE_CODE = 'dcs-parts-partClaimReport';
import {PAGE} from '../constants';

export const formatPrintPdfUrl = id => `/parts/print/reportpdf.html?id=${id}&name=PartClaimReport&title=`;

export const DEFAULT_QUERY_OPTION = {
    dealerId: '',
    brandId: '',
    claimType: undefined,
    code: '',
    claimCode: '',
    status: undefined,
    isPrint: undefined,
    invoiceCode: '',
    pageIndex: PAGE.index,
    pageSize: PAGE.size,
    sortField: 'createTime',
    isDesc: true
};
// 操作权限
export const PERMISSION = {
    add: 'add',
    update: 'update',
    submit: 'submit',
    confirm: 'confirm',
    abandon: 'abandon',
    print: 'print'
};
